Ari Halberstadt ari@shore.net (formerly ari@world.std.com)
And yet, there was only one great thing. / To live. / To See. / In hunts and on journeys / the great day that dawns / and the light that fills the world. -- Inuit, from "500 Nations".
---------------------------
>From lkw@aol.com (Lkw)
Subject: [Q] Drag and Drop Mgr hilighting
Date: 2 Jun 1995 00:25:35 -0400
Organization: America Online, Inc. (1-800-827-6364)
Anybody know what RGBColors (foregound and background), PenPat, and
PenMode Apple uses to highlight in the Drag and Drop Manager? I need to
directly update and manipulate areas that the Drag Manager highlights, and
therefore need to use the same colors and modes so that when the Drag Mgr
decides to un-highlight, the border will return to normal.
+++++++++++++++++++++++++++
>From blm@chinook.halcyon.com (Brian L. Matthews)
Date: 3 Jun 1995 06:51:40 GMT
Organization: Northwest Nexus, Inc. - Professional Internet Services
In article <3qm3rv$jro@newsbf02.news.aol.com>, Lkw <lkw@aol.com> wrote:
|Anybody know what RGBColors (foregound and background), PenPat, and
|PenMode Apple uses to highlight in the Drag and Drop Manager?
It uses HiliteMode, which is described pretty well in Inside Mac.
|update and manipulate areas that the Drag Manager highlights, and
|therefore need to use the same colors and modes so that when the Drag Mgr
|decides to un-highlight, the border will return to normal.
I suggest looking at UpdateDragHilite. It's designed for just this case.
Brian
+++++++++++++++++++++++++++
>From skevill@tartarus.uwa.edu.au (Scott Kevill)
Date: Sun, 04 Jun 1995 23:04:36 -0700
Organization: The University of Western Australia
In article <3qp0ps$pi0@news1.halcyon.com>, blm@chinook.halcyon.com (Brian
L. Matthews) wrote:
> In article <3qm3rv$jro@newsbf02.news.aol.com>, Lkw <lkw@aol.com> wrote:
> |Anybody know what RGBColors (foregound and background), PenPat, and
> |PenMode Apple uses to highlight in the Drag and Drop Manager?
>
> It uses HiliteMode, which is described pretty well in Inside Mac.
>
> |update and manipulate areas that the Drag Manager highlights, and
> |therefore need to use the same colors and modes so that when the Drag Mgr
> |decides to un-highlight, the border will return to normal.
>
> I suggest looking at UpdateDragHilite. It's designed for just this case.
>
> Brian
This is incorrect, the Drag Manager does not use HiliteMode, it uses the
tinge colours for windows set in the Color control panel. Try it and see.
There is a DTS snippet (toolbox/GetDragHiliteColor or something) that
calculates the correct colour to draw with. However it doesn't handle the
situation for b&w, which is simply a 50% gray pattern. This is not
guaranteed to stay the same in the future, because it is undocumented.
Hope this helps,
Scott Kevill
skevill@tartarus.uwa.edu.au
+++++++++++++++++++++++++++
>From ldo@waikato.ac.nz (Lawrence D9Oliveiro)
Date: Wed, 07 Jun 1995 17:33:03 +1200
Organization: University of Waikato
In article <skevill-0406952304360001@s187.dialup.uwa.edu.au>,